package com.example.demo.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.*;

@Slf4j
@RestController
@RequestMapping("/order")
public class TestController {

        @GetMapping("/addCcbBankSerial")
    public String addCcbBankSerial(@RequestParam String abc){
        try{
//            log.info(abc);
            return abc;
        }catch (Exception e){
//            log.error("测试出错",e.toString());
            return e.getMessage();
        }
    }

}
